package com.itheima.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

@TableName("tb_category")
@Data
public class Category implements Serializable {

    @TableId(value = "id",type = IdType.AUTO)
    private Long id;
    private String name;
    private Long goodsNum;
    private String isShow;
    private String isMenu;
    private Long seq;
    private Long parentId;
    private Long templateId;
}
